import Vue from 'vue'
import App from './App.vue'
import router from './router';
import VueRouter from 'vue-router';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import SlideVerify from 'vue-monoplasty-slide-verify';
// 水印
import watermark from './utils/warterMark'


Vue.prototype.$watermark = watermark
Vue.config.productionTip = false
Vue.use(SlideVerify);
Vue.use(ElementUI);
Vue.use(VueRouter)
new Vue({
  router,
  beforeCreate(){
    //安装全局事件总线，$bus就是当前应用的vm
    Vue.prototype.$bus=this
  },
  render: h => h(App),
}).$mount('#app')
